/**
 * 连式操作 next();
*/

const express = require('express');
const bodyParser = require('body-parser');
const server = express();

server.listen(8080, () => {
    console.log('服务启动成功!');
});

server.use('/', (req, res, next) => {
    console.log('1111');
    next();
});

server.use('/', (req, res, next) => {
    console.log('2222');
    // next();
});

server.use('/', (req, res, next) => {
    console.log('3333');
});